const mongoose = require('../index');

const noteSchema = new mongoose.Schema({
    title:String,
    content:String
})

const noteModel = mongoose.model('notes',noteSchema);

module.exports = noteModel;